package cn.iocoder.yudao.module.erp.controller.admin.stock.goods.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author ttsn,maxu
 * @Description 导入物品库Excel的返回结果
 * @date 2024/01/11  20:36
 **/
@Schema(description = "管理后台 -ERP 物品导入 Response VO")
@Data
@Builder
public class GoodsImportRespVO {
    @Schema(description = "导入成功的物品数组",requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> createGoodsNames;
    @Schema(description = "更新成功的物品数组",requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> updateGoodsNames;
    @Schema(description = "导入失败的物品集合，key为用户名，value为失败原因",requiredMode = Schema.RequiredMode.REQUIRED)
    private Map<String,String> failureGoodsNames;
}
